import instance from "../url/lifedata.js";
const time_long_d = async (user_id) => { //
    return await instance.get(`/blog/life_data/get_data/anaysis/time_long?user_id=${user_id}`)
        .then((response) => { 
            return response
        });
}

const active_d = async (user_id) => {  
    return await instance.get(`/blog/life_data/get_data/anaysis/active?user_id=${user_id}`)
        .then((response) => { 
            return response
        });
}

const time_span_d = async (user_id) => { //
    return await instance.get(`/blog/life_data/get_data/anaysis/time_span?user_id=${user_id}`)
        .then((response) => { 
            return response
        });
}

const life_data_all_c = async (user_id) => { 
    return await instance.get(`/blog/life_data/get_data/anaysis/life_data_c?user_id=${user_id}`)
        .then((response) => { 
            return response
        });
}
export { time_long_d, active_d, time_span_d, life_data_all_c}


